﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IApprovalEngine.cs" company="DST Nexdox">
//   Copyright (c) DST Nexdox. All rights reserved.
// </copyright>
// <summary>
//   Defines the IApprovalEngine type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace BusinessEngineInterfaces
{
  using System;
  using Entities;

  public interface IApprovalEngine
  {
    void AutoApproveDocument(String documentId);

    void ApproveDocument(
      String userName,
      String documentId);

    BatchApprovalResults ApproveGrid(String grid, String userName);

    BatchApprovalResults ApproveBasket(String cartId, String userName);
  }
}
